package com.ruge.controller;


import com.ruge.service.SQLiteService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

@RestController
@RequestMapping("SQLite")
public class SQLiteController {


    @Resource
    private SQLiteService sqLiteService;

    @PostMapping("pageList")
    public Map<String, Object> pageList(@RequestBody Map<String, String> params) {
        return sqLiteService.pageList(params);
    }

}
